"""
@author RansySun
@create 2019-12-01-23:17
"""
from . import models
from rest_framework import serializers


class BannerModelSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Banner
        fields = ("title", "link", "get_image")
